package com.test.restruant.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import com.test.restruant.pojo.DishTable;

@Mapper
public interface DishTableDao {
    int insert(@Param("pojo") DishTable pojo);

    int insertSelective(@Param("pojo") DishTable pojo);

    int insertList(@Param("pojos") List<DishTable> pojo);

    int update(@Param("pojo") DishTable pojo);

    List<DishTable> getTableList(String name);

}
